package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_remain_time", desc = "玩家活动停留时长", autoSave = true, uploadCk = true)
public class LogActivityRemainTime extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "活动类型")
    private int activityType;
    @FieldTypeAnnotation(desc = "活动子类型")
    private int activityChildType;
    @FieldTypeAnnotation(desc = "停留时长")
    private long remainTime;

    public LogActivityRemainTime(long userId, int activityId, int activityType, int activityChildType, long remainTime) {
        this.userId = userId;
        this.activityId = activityId;
        this.activityType = activityType;
        this.activityChildType = activityChildType;
        this.remainTime = remainTime;
    }

    public long getUserId() {
        return userId;
    }

}
